home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 7
/
Amiga Format AFCD07 (Dec 1996, Issue 91).iso
/
serious
/
shareware
/
comms
/
non-internet
/
samba
/
docs
/
smbtar.0
< prev
next >
Wrap
Text File
|
1996-07-01
|
4KB
|
133 lines
SMBTAR(1) smbtar SMBTAR(1)
NNAAMMEE
smbtar - shell script for backing up SMB shares directly
to UNIX tape drive
SSYYNNOOPPSSIISS
ssmmbbttaarr --ss _s_e_r_v_e_r [[ --pp _p_a_s_s_w_o_r_d ]] [[ --xx _s_e_r_v_i_c_e ]] [[ --uu _u_s_e_r
]] [[ --tt _t_a_p_e ]] [[ --bb _b_l_o_c_k_s_i_z_e ]] [[ --nn _f_i_l_e_n_a_m_e ]] [[ --ii ]] [[ --rr
]] [[ --ll ]]
DDEESSCCRRIIPPTTIIOONN
This program is an extension to the Samba suite.
ssmmbbttaarr is a very small shell script on top of smbclient,
which dumps SMB shares directly to tape.
OOPPTTIIOONNSS
--ss _s_e_r_v_e_r
The PC that the share resides upon.
--xx _s_e_r_v_i_c_e
The share name on the PC to connect to. Default:
_b_a_c_k_u_p_.
--pp _p_a_s_s_w_o_r_d
The password to use to access a share. Default: none
--uu _u_s_e_r
The user id to connect as. Default: UNIX login name.
--tt _t_a_p_e
Tape device. May be regular file or tape device.
Default: Tape environmental variable; if not set, a
file called _t_a_r_._o_u_t_.
--bb _b_l_o_c_k_s_i_z_e
Blocking factor. Defaults to 20. See tar(1) for a
fuller explanation.
--nn _f_i_l_e_n_a_m_e
Backup only files newer than filename. Could be used
(for example) on a log file to implement incremental
backups. This flag should not be used with the -i flag,
the results may not be sensible.
--ii
Incremental mode; tar files are only backed up if they
have the archive bit set. The archive bit is reset
after each file is read. This flag should not be used
with the -n flag, the results may not be sensible.
--rr
smbtar 6/10/1994 1
SMBTAR(1) smbtar SMBTAR(1)
Restore. Files are restored to the share from the tar
file.
--ll
Debug level. Corresponds to -d flag on smbclient(1).
EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS
The TAPE variable specifies the default tape device to
write to. May be overidden with the -t option.
BBUUGGSS
The shell script has only been tested under solaris 2.
It's not very portable and should probably be customized
to a particular site's setup.
CCAAVVEEAATTSS
Sites that are more careful about security may not like
the way the script handles PC passwords. Backup and
restore work on entire shares, should work on file lists.
VVEERRSSIIOONN
This man page is correct for version 1.9.02 of the Samba
suite.
SSEEEE AALLSSOO
ssmmbbcclliieenntt (8), ssmmbb..ccoonnff (8)
DDIIAAGGNNOOSSTTIICCSS
See diagnostics for ssmmbbcclliieenntt command.
CCRREEDDIITTSS
The original Samba software and related utilities were
created by Andrew Tridgell (samba-bugs@anu.edu.au). Andrew
is also the Keeper of the Source for this project.
Ricky Poulten (poultenr@logica.co.uk) wrote the tar exten-
sion and this man page.
See ssmmbb..ccoonnff (5) for a full list of contributors and
details of how to submit bug reports, comments etc.
smbtar 6/10/1994 2